#include<iostream>
using namespace std;
#include<sys/types.h>
#include<signal.h>
int main(int argc,char* argv[])
{
    if(argc!=3)
    {
        cerr << "error!" << endl;
        return 1;
    }
    int pid = stoi(argv[2]);
    int flag = stoi(argv[1]);
    kill(pid,flag);
}